SET (PROJECT_NAME "XyNet")

INCLUDE_DIRECTORIES ("${SRC_PATH}")
INCLUDE_DIRECTORIES ("${DEP_PATH}include")

LINK_DIRECTORIES ("${DEP_PATH}lib/${CMAKE_SYSTEM_NAME}")

ADD_DEFINITIONS (-DXYNET_EXPORTS)

FILE (GLOB_RECURSE HEADERS "${SRC_PATH}/${PROJECT_NAME}/*.h")
FILE (GLOB_RECURSE SOURCES "${SRC_PATH}/${PROJECT_NAME}/*.cpp")

ADD_LIBRARY (${PROJECT_NAME} SHARED ${HEADERS} ${SOURCES})